
 package com.ami.iusb.protocol;
 
 import com.ami.iusb.RedirProtocolException;
 import com.ami.kvm.imageredir.IUSBHeader;
 import java.nio.BufferUnderflowException;
 import java.nio.ByteBuffer;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 public class HarddiskProtocol
   extends RedirProtocol
 {
   public RedirPacket getPacket(ByteBuffer paramByteBuffer)
     throws RedirProtocolException
   {
     IUSBHeader localIUSBHeader = new IUSBHeader();
     
     IUSBSCSI localIUSBSCSI;
     
     try
     {
       localIUSBHeader.read(paramByteBuffer);
       
       localIUSBSCSI = new IUSBSCSI(localIUSBHeader);
       localIUSBSCSI.readData(paramByteBuffer);
 
     }
     catch (BufferUnderflowException localBufferUnderflowException)
     {
 
       return null;
     }
     return localIUSBSCSI;
   }
 }


/* Location:              D:\Users\tianlin\Downloads\JViewer.jar!\com\ami\iusb\protocol\HarddiskProtocol.class
 * Java compiler version: 5 (49.0)
 * JD-Core Version:       0.7.1
 */